import request from '@/utils/request'

const userApi = {
  sendpdf: 'frontend/uploadFile/uploadPdf'
}

export function sendpdf (parameter) {
  return request({
    url: userApi.sendpdf,
    method: 'post',
    data: parameter,
    headers: {
      'Content-Type': 'application/formdata;charset=UTF-8'
    }
  })
}
